<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>圣杯布局1</title>
  <link rel="stylesheet" type="text/css" href="../style/reset.css" ></link>
  <style type="text/css">
    html,body{
        width: 100%;
        height: 100%;
    }
    .container {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    .header{
        width: 100%;
        height: 100px;
        background: #f99;
    }
    .footer{
        width: 100%;
        height: 100px;
        background: #99f;
    }
    
    .content {
      /* margin-top: 50px; */
      /* border: 1px solid firebrick; */
      position: relative;
      margin: 0 auto;
      width: 100%;
      height: 100%;
      max-width: 960px;
      overflow: auto;
      flex: 1;
      background-color:#F5F5F5;
    }
    .content p {
      font-size: 14px;
      line-height: 22px;
      text-indent: 2em;
    }
    .font22 {
      font-size: 22px;
    }
    .font18 {
      font-size: 18px;
    }
</style>
</head>
<body>
  <div class="container">
    <div class="header">

    </div>
    <div class="content ">
        <ul>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            <li>111111</li>
            这里的li要多写一些，这样才会显示效果，我这里为了省篇幅。
        </ul>
    </div>

    <div class="footer">
    </div>
  </div>
</body>
</html>